export const otherInspectionRecordsForm = (item) => {
  return [
    {
      fieldName: "id",
      fieldCNName: "",
      filedValue: "",
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "",
    },
    {
      /** 字段名，如：name */
      fieldName: "examineeCode",
      /** 字段对应的中文解释，如：姓名 */
      fieldCNName: "受试者编号",
      /** 字段的值，如：张三 */
      filedValue: 1,
      disabled: true,
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "inputText",
      rules: {
        required: true, // 只有为true的时候才写，为false这个字段不要
      },
      span: 2,
    },
    {
      disabled: true,
      /** 字段名，如：name */
      fieldName: "examineeName",
      /** 字段对应的中文解释，如：姓名 */
      fieldCNName: "受试者姓名",
      /** 字段的值，如：张三 */
      filedValue: 1,
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "inputText",
      rules: {
        required: true, // 只有为true的时候才写，为false这个字段不要
      },
      span: 2,
    },
    {
      /** 字段名，如：name */
      fieldName: "filterNo",
      /** 字段对应的中文解释，如：姓名 */
      fieldCNName: "筛选号",
      /** 字段的值，如：张三 */
      filedValue: 1,
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "inputText",
      disabled: true,
      span: 2,
    },
    {
      fieldName: "checkItem",
      fieldCNName: "检查项",
      filedValue: "",
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "select",
      span: 2,
      rules: {
        required: true, // 只有为true的时候才写，为false这个字段不要
      },
      itemList: item.checkItemList
    },
    {
      fieldName: "checkItemResult",
      fieldCNName: "检查结果",
      filedValue: "",
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "select",
      span: 2,
      itemList: []
    },
    {
      fieldName: "checkTime",
      fieldCNName: "检查时间",
      filedValue: "",
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "datetime",
      span: 2,
      rules: {
        required: true, // 只有为true的时候才写，为false这个字段不要
      },
    },
    {
      fieldName: "checkItemResultDesc",
      fieldCNName: "检查项结果描述",
      filedValue: "",
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "textarea",
    },
    {
      fieldName: "checkItemExplain",
      fieldCNName: "检查说明",
      filedValue: "",
      /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
      type: "textarea",
    },
  ];
}
